<?php

class Coordinate extends Eloquent{
	protected $table = 'coordinates';

	public function coordinateOfAddress(){
		return $this->hasMany('Address', 'coordinate_id');
	}

	public function idVsContent(){
		return $this->hasMany('IDVsContent', 'coordinate_id');
	}

	public function activitiLog(){
		return $this->hasMany('ActivityLog', 'coordinate_id');
	}
}